Reprinted from:
Http://www.yonsm.net/read.php? 141
The version number may be used in many places in a VC project, such as the about dialog box and version resource. Changing these values one by one for each version is not only troublesome, but
Preface:
Naming rules for software released on the Internet. Although you can name your own released software, you still have a lot of conversations about the rules.
Article 1:
Version 1
1.1 Official version
Enhance: the enhanced version or
Recently written documents have been abused ... Ah, fall. The teacher is not satisfied, but also embarrassed to criticize me directly, make oneself very ashamed ... So I decided to strengthen my writing skills.
First of all, from the file management
As we all know, in PHP (PHP 4 and later), we can use the function define () to define constants, for example:
However, after PHP 5.3.0, in addition to using function define (), we can also use the PHP keyword const to define constants.
For example:
Http://baike.baidu.com/link?url=UZBhF-I3YFeyYy7yK-i_xEBGjZNvyIOJloYO9AGLlPJxl36vJF9kYYo4UfgjRy_Znaming style editing GNU versionThe major version number. The child version number [. fix version number [.] The build version
Let's look at a few examples
(1) struct{int x; int y;} Test1;
Well, define the structure test1,
test1.x and test1.y can be used in the statement.
(2) struct test {int x; int y;} Test1;
Well, define the structure test1,
test1.x and test1.y can be
Version number is the version ID. Each operating system (or software in a broad sense) has a version number. The version number allows you to know whether the operating system is the latest version and the features and facilities it provides. Each
Turn from: http://www.flighty.cn/html/net/20121029_163.html frivolous Note: The version number of various software often make the user foggy, do not know the software developers in the end if you define your own version of the software, so, It is
The use of a typedef
In C/s + + language, a typedef is commonly used to define an identifier and a keyword alias, which is part of the language compilation process, but it does not actually allocate memory space, as in the case of:
typedef int INT;
#define宏定义在C系开发中可以说占有举足轻重的作用. The underlying framework does not have to say, in order to compile optimization and convenience, as well as cross-platform capabilities, macros are heavily used, it can be said that the bottom of development left define
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.